<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>prencar: StateMaschine Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="prencar.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">prencar
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_state_maschine.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">StateMaschine Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for StateMaschine:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine__coll__graph.png" border="0" usemap="#_state_maschine_coll__map" alt="Collaboration graph"/></div>
<map name="_state_maschine_coll__map" id="_state_maschine_coll__map">
<area shape="rect" id="node2" href="class_move.html" title="Move" alt="" coords="401,187,452,213"/><area shape="rect" id="node15" href="class_line_follow.html" title="LineFollow" alt="" coords="385,277,468,304"/><area shape="rect" id="node5" href="class_communication.html" title="Communication" alt="" coords="228,96,340,123"/><area shape="rect" id="node24" href="class_lift_cube.html" title="LiftCube" alt="" coords="85,187,155,213"/><area shape="rect" id="node7" href="class_command.html" title="A Command object represents a command sent from the host software." alt="" coords="5,5,85,32"/><area shape="rect" id="node10" href="class_configuration.html" title="Configuration" alt="" coords="425,5,521,32"/><area shape="rect" id="node20" href="class_curve_left.html" title="The CurveLeft class will control the car during the 90° left curve." alt="" coords="424,368,499,395"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_state_maschine-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1095131aa8e6e9537f481b5f425395e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2">doJob</a> ()</td></tr>
<tr class="memitem:aaca597f41ba735fce3ef0eb06e4fda18"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#aaca597f41ba735fce3ef0eb06e4fda18">startParcours</a> ()</td></tr>
<tr class="memitem:ae028d25d4b664d805e0f516a49cfdb23"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#ae028d25d4b664d805e0f516a49cfdb23">stopParcours</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a908a6b51448036bc23a7cd76acfcfbe0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_state_maschine.html">StateMaschine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a908a6b51448036bc23a7cd76acfcfbe0">getInstance</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:adbdb287052ba80eb22fd4a910edc0115"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_state_maschine_8h.html#ad5f3c64cf1a6afd0af12270f4a539ce8">TParcoursState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#adbdb287052ba80eb22fd4a910edc0115">parcoursState</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a869746d152d0a38b8d6142da3b420e85"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a869746d152d0a38b8d6142da3b420e85">StateMaschine</a> ()</td></tr>
<tr class="memitem:acdadfde97fc8449c816c1b489e2f4a22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#acdadfde97fc8449c816c1b489e2f4a22">begin</a> ()</td></tr>
<tr class="memitem:a5551d00a5224f595833b75969c2ca64a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a">checkCommands</a> ()</td></tr>
<tr class="memitem:a5b9f3dfb795afbb28c1beeaa6f6512a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4">changeState</a> (<a class="el" href="_state_maschine_8h.html#ad5f3c64cf1a6afd0af12270f4a539ce8">TParcoursState</a> newState)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a375a5c409935687eab5d7185c25b2e97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_communication.html">Communication</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a375a5c409935687eab5d7185c25b2e97">_com</a></td></tr>
<tr class="memdesc:a375a5c409935687eab5d7185c25b2e97"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the serial communication class.  <a href="#a375a5c409935687eab5d7185c25b2e97"></a><br/></td></tr>
<tr class="memitem:a1739f27286f50fbc99a6212c029c79d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_configuration.html">Configuration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a1739f27286f50fbc99a6212c029c79d5">_conf</a></td></tr>
<tr class="memdesc:a1739f27286f50fbc99a6212c029c79d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the configuration class.  <a href="#a1739f27286f50fbc99a6212c029c79d5"></a><br/></td></tr>
<tr class="memitem:a91050d9a782c56bbceb4f51255707685"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_move.html">Move</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a91050d9a782c56bbceb4f51255707685">_move</a></td></tr>
<tr class="memdesc:a91050d9a782c56bbceb4f51255707685"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the move class.  <a href="#a91050d9a782c56bbceb4f51255707685"></a><br/></td></tr>
<tr class="memitem:a47fe78de48af82060f3f40399ef2c2d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lift_cube.html">LiftCube</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a47fe78de48af82060f3f40399ef2c2d2">_liftCube</a></td></tr>
<tr class="memdesc:a47fe78de48af82060f3f40399ef2c2d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the <a class="el" href="class_lift_cube.html">LiftCube</a> class.  <a href="#a47fe78de48af82060f3f40399ef2c2d2"></a><br/></td></tr>
<tr class="memitem:a3307f4f89ffd7ebb3faa55467c32a71d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_line_follow.html">LineFollow</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a3307f4f89ffd7ebb3faa55467c32a71d">lineFollow</a></td></tr>
<tr class="memitem:a705593d70b7955850568e80694c27e35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_curve_left.html">CurveLeft</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a705593d70b7955850568e80694c27e35">curveLeft</a></td></tr>
<tr class="memitem:acf147371c0034a418702eb1544b8e620"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#acf147371c0034a418702eb1544b8e620">forceChangeSate</a></td></tr>
<tr class="memdesc:acf147371c0034a418702eb1544b8e620"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will be set to true if the stateMaschine shall switch to the next state immediately.  <a href="#acf147371c0034a418702eb1544b8e620"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:ae63367f6117a93b862973b7756ce515c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_state_maschine.html">StateMaschine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#ae63367f6117a93b862973b7756ce515c">_instance</a></td></tr>
<tr class="memdesc:ae63367f6117a93b862973b7756ce515c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static reference to the singleton object.  <a href="#ae63367f6117a93b862973b7756ce515c"></a><br/></td></tr>
<tr class="memitem:a9c60433a0d4dba03bfe5422c0896b4ba"><td class="memItemLeft" align="right" valign="top">static boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_maschine.html#a9c60433a0d4dba03bfe5422c0896b4ba">_instanceCreated</a> = false</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00028">28</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a869746d152d0a38b8d6142da3b420e85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_maschine.html#a869746d152d0a38b8d6142da3b420e85">StateMaschine::StateMaschine</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructur for the class. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00028">28</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a869746d152d0a38b8d6142da3b420e85_icgraph.png" border="0" usemap="#class_state_maschine_a869746d152d0a38b8d6142da3b420e85_icgraph" alt=""/></div>
<map name="class_state_maschine_a869746d152d0a38b8d6142da3b420e85_icgraph" id="class_state_maschine_a869746d152d0a38b8d6142da3b420e85_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a908a6b51448036bc23a7cd76acfcfbe0" title="StateMaschine::getInstance" alt="" coords="259,5,443,32"/><area shape="rect" id="node5" href="class_state_maschine.html#acdadfde97fc8449c816c1b489e2f4a22" title="StateMaschine::begin" alt="" coords="491,5,639,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acdadfde97fc8449c816c1b489e2f4a22"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#acdadfde97fc8449c816c1b489e2f4a22">StateMaschine::begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prepares the <a class="el" href="class_state_maschine.html">StateMaschine</a> object to work. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00037">37</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_cgraph.png" border="0" usemap="#class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_cgraph" alt=""/></div>
<map name="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_cgraph" id="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_cgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a908a6b51448036bc23a7cd76acfcfbe0" title="StateMaschine::getInstance" alt="" coords="203,41,387,68"/><area shape="rect" id="node8" href="class_line_follow.html#afac0ad1ff185b7e5f9b47428cb2e5e48" title="LineFollow::begin" alt="" coords="233,92,356,119"/><area shape="rect" id="node40" href="class_curve_left.html#a0e6f8f5d7f869edfaf34cf3e74676a86" title="CurveLeft::begin" alt="" coords="237,143,352,169"/><area shape="rect" id="node5" href="class_state_maschine.html#a869746d152d0a38b8d6142da3b420e85" title="StateMaschine::StateMaschine" alt="" coords="435,12,639,39"/><area shape="rect" id="node10" href="class_communication.html#ad7b13fccf78bfce83efc9bb06c64facd" title="Communication::getInstance" alt="" coords="444,63,631,89"/><area shape="rect" id="node17" href="class_move.html#a5b53cfa443fe4fe0f1b96f9b3afc4850" title="Move::getInstance" alt="" coords="474,120,601,147"/><area shape="rect" id="node36" href="class_configuration.html#ae327d26e81014cf46b25802478fe9b8e" title="Configuration::getInstance" alt="" coords="451,183,623,209"/><area shape="rect" id="node12" href="class_communication.html#a88aa7a2d2ac5202e2b8eef787d1a8689" title="Communication::Communication" alt="" coords="688,56,899,83"/><area shape="rect" id="node15" href="class_configuration.html#a75b42e72d9a00415dfafa5d5dd8281b8" title="Configuration::getSerialSpeed" alt="" coords="990,5,1183,32"/><area shape="rect" id="node19" href="class_move.html#a4b1acc3a67d30c385ad9a6000526393a" title="Move::Move" alt="" coords="748,107,839,133"/><area shape="rect" id="node21" href="class_move.html#afcff6c5d4fd9e58382ee01d6270f4707" title="Move::begin" alt="" coords="748,157,839,184"/><area shape="rect" id="node24" href="class_configuration.html#aecc6c34b834bb9adb42d5f8c7314cd9c" title="Configuration::getMovePwmLeftPin" alt="" coords="975,56,1198,83"/><area shape="rect" id="node26" href="class_configuration.html#a156dc7d1360c8e70c7aba5eb20481afa" title="Configuration::getMovePwmRightPin" alt="" coords="971,107,1202,133"/><area shape="rect" id="node28" href="class_configuration.html#aa1599159aa8233fe3f974fb2e51129e4" title="Configuration::getMoveModeFirstLeftPin" alt="" coords="961,157,1212,184"/><area shape="rect" id="node30" href="class_configuration.html#a4d1252f0afd9ebb35cc7f38a769fdeff" title="Configuration::getMoveModeSecondLeftPin" alt="" coords="952,208,1221,235"/><area shape="rect" id="node32" href="class_configuration.html#a9bf200a445b05745a678d18e46ca446d" title="Configuration::getMoveModeFirstRightPin" alt="" coords="957,259,1217,285"/><area shape="rect" id="node34" href="class_configuration.html#a2c95181edbee124c040f5db52c15fdb6" title="Configuration::getMoveModeSecondRightPin" alt="" coords="947,309,1226,336"/><area shape="rect" id="node38" href="class_configuration.html#a779947337bf652f0e773cb29f37f14ba" title="Configuration::Configuration" alt="" coords="703,208,883,235"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_icgraph.png" border="0" usemap="#class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_icgraph" alt=""/></div>
<map name="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_icgraph" id="class_state_maschine_acdadfde97fc8449c816c1b489e2f4a22_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a908a6b51448036bc23a7cd76acfcfbe0" title="StateMaschine::getInstance" alt="" coords="203,5,387,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5b9f3dfb795afbb28c1beeaa6f6512a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4">StateMaschine::changeState</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_state_maschine_8h.html#ad5f3c64cf1a6afd0af12270f4a539ce8">TParcoursState</a>&#160;</td>
          <td class="paramname"><em>newState</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Changes the state of the Maschine to the given new state. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">New</td><td>state for the state maschine. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00190">190</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_cgraph.png" border="0" usemap="#class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_cgraph" alt=""/></div>
<map name="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_cgraph" id="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_cgraph">
<area shape="rect" id="node3" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="246,5,394,32"/><area shape="rect" id="node5" href="class_configuration.html#ad398e1915b07ffc4091d4d5827bd6c6e" title="Configuration::getMessageFilterLevel" alt="" coords="443,5,677,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_icgraph.png" border="0" usemap="#class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_icgraph" alt=""/></div>
<map name="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_icgraph" id="class_state_maschine_a5b9f3dfb795afbb28c1beeaa6f6512a4_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2" title="StateMaschine::doJob" alt="" coords="755,5,906,32"/><area shape="rect" id="node5" href="class_state_maschine.html#aaca597f41ba735fce3ef0eb06e4fda18" title="StateMaschine::startParcours" alt="" coords="245,31,440,57"/><area shape="rect" id="node10" href="class_state_maschine.html#ae028d25d4b664d805e0f516a49cfdb23" title="StateMaschine::stopParcours" alt="" coords="245,81,440,108"/><area shape="rect" id="node7" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a" title="StateMaschine::checkCommands" alt="" coords="488,31,707,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5551d00a5224f595833b75969c2ca64a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a">StateMaschine::checkCommands</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method checks different possible arriving commands and performs the defined action if necessary. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00106">106</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_cgraph.png" border="0" usemap="#class_state_maschine_a5551d00a5224f595833b75969c2ca64a_cgraph" alt=""/></div>
<map name="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_cgraph" id="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_cgraph">
<area shape="rect" id="node3" href="class_communication.html#a17bff838a0404ae06482f17bcecd3784" title="Communication::getAndRemoveCommandFromReadyCommands" alt="" coords="875,73,1274,99"/><area shape="rect" id="node5" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="1345,201,1493,227"/><area shape="rect" id="node9" href="class_line_follow.html#a9db172747e4457a6b01f8d27ed41ac39" title="Calibrates the sensors." alt="" coords="981,238,1169,265"/><area shape="rect" id="node13" href="class_state_maschine.html#ae028d25d4b664d805e0f516a49cfdb23" title="StateMaschine::stopParcours" alt="" coords="308,326,503,353"/><area shape="rect" id="node21" href="class_communication.html#a17e42ee6dbbaa353944d63e7d5dee25a" title="Communication::sendCurrentConfiguration" alt="" coords="273,225,538,251"/><area shape="rect" id="node26" href="class_state_maschine.html#aaca597f41ba735fce3ef0eb06e4fda18" title="StateMaschine::startParcours" alt="" coords="308,377,503,403"/><area shape="rect" id="node31" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="1005,427,1144,454"/><area shape="rect" id="node38" href="class_configuration.html#a13c417c35f720cae9917b7bed7ceb159" title="Configuration::updateConfiguration" alt="" coords="296,427,515,454"/><area shape="rect" id="node41" href="class_lift_cube.html#a6b6c013383282736029056541de33844" title="LiftCube::setHoistPosition" alt="" coords="621,22,793,49"/><area shape="rect" id="node7" href="class_configuration.html#ad398e1915b07ffc4091d4d5827bd6c6e" title="Configuration::getMessageFilterLevel" alt="" coords="1563,201,1797,227"/><area shape="rect" id="node15" href="class_move.html#a237261f2dd8fc115129f0ba998f13183" title="Move::performFastStop" alt="" coords="997,314,1153,341"/><area shape="rect" id="node18" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4" title="StateMaschine::changeState" alt="" coords="611,377,802,403"/><area shape="rect" id="node23" href="class_configuration.html#a0b0009b5114b418831478c031372d12c" title="Configuration::getCurrentConfiguration" alt="" coords="587,225,827,251"/><area shape="rect" id="node29" href="class_line_follow.html#a5f3e76e795bacff24be60b7f65d84d94" title="LineFollow::startIt" alt="" coords="645,427,769,454"/><area shape="rect" id="node34" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="1327,402,1510,429"/><area shape="rect" id="node36" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="1323,453,1515,479"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_icgraph.png" border="0" usemap="#class_state_maschine_a5551d00a5224f595833b75969c2ca64a_icgraph" alt=""/></div>
<map name="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_icgraph" id="class_state_maschine_a5551d00a5224f595833b75969c2ca64a_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2" title="StateMaschine::doJob" alt="" coords="273,5,423,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1095131aa8e6e9537f481b5f425395e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2">StateMaschine::doJob</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Does the job for which this class was written.<br/>
 This method has to be called in regular intervals (as short as possible). It manages the parcours with it's states. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00051">51</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a1095131aa8e6e9537f481b5f425395e2_cgraph.png" border="0" usemap="#class_state_maschine_a1095131aa8e6e9537f481b5f425395e2_cgraph" alt=""/></div>
<map name="class_state_maschine_a1095131aa8e6e9537f481b5f425395e2_cgraph" id="class_state_maschine_a1095131aa8e6e9537f481b5f425395e2_cgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a" title="StateMaschine::checkCommands" alt="" coords="205,489,424,516"/><area shape="rect" id="node17" href="class_move.html#a237261f2dd8fc115129f0ba998f13183" title="Move::performFastStop" alt="" coords="855,312,1011,338"/><area shape="rect" id="node20" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4" title="StateMaschine::changeState" alt="" coords="838,362,1029,389"/><area shape="rect" id="node31" href="class_line_follow.html#a5f3e76e795bacff24be60b7f65d84d94" title="LineFollow::startIt" alt="" coords="871,666,995,693"/><area shape="rect" id="node47" href="class_curve_left.html#a2f70c4b1efef29cdf04dff01e6a90336" title="CurveLeft::startIt" alt="" coords="875,869,991,896"/><area shape="rect" id="node51" href="class_line_follow.html#a93ff35747f2ae3bb26998f07243afc3c" title="LineFollow::doJob" alt="" coords="543,109,668,136"/><area shape="rect" id="node66" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="547,160,664,186"/><area shape="rect" id="node5" href="class_communication.html#a17bff838a0404ae06482f17bcecd3784" title="Communication::getAndRemoveCommandFromReadyCommands" alt="" coords="1129,616,1527,642"/><area shape="rect" id="node7" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="1598,388,1746,414"/><area shape="rect" id="node11" href="class_line_follow.html#a9db172747e4457a6b01f8d27ed41ac39" title="Calibrates the sensors." alt="" coords="1234,413,1422,440"/><area shape="rect" id="node15" href="class_state_maschine.html#ae028d25d4b664d805e0f516a49cfdb23" title="StateMaschine::stopParcours" alt="" coords="508,312,703,338"/><area shape="rect" id="node23" href="class_communication.html#a17e42ee6dbbaa353944d63e7d5dee25a" title="Communication::sendCurrentConfiguration" alt="" coords="473,717,738,744"/><area shape="rect" id="node28" href="class_state_maschine.html#aaca597f41ba735fce3ef0eb06e4fda18" title="StateMaschine::startParcours" alt="" coords="508,362,703,389"/><area shape="rect" id="node33" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="1259,768,1397,794"/><area shape="rect" id="node40" href="class_configuration.html#a13c417c35f720cae9917b7bed7ceb159" title="Configuration::updateConfiguration" alt="" coords="496,464,715,490"/><area shape="rect" id="node43" href="class_lift_cube.html#a6b6c013383282736029056541de33844" title="LiftCube::setHoistPosition" alt="" coords="1242,489,1414,516"/><area shape="rect" id="node9" href="class_configuration.html#ad398e1915b07ffc4091d4d5827bd6c6e" title="Configuration::getMessageFilterLevel" alt="" coords="1816,388,2051,414"/><area shape="rect" id="node25" href="class_configuration.html#a0b0009b5114b418831478c031372d12c" title="Configuration::getCurrentConfiguration" alt="" coords="813,768,1053,794"/><area shape="rect" id="node36" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="1581,793,1763,820"/><area shape="rect" id="node38" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="1576,742,1768,769"/><area shape="rect" id="node53" href="class_line_follow.html#a1e3bb3e01044c86e7ad87c632bac6634" title="LineFollow::readFrontLineSensors" alt="" coords="1219,109,1437,136"/><area shape="rect" id="node58" href="class_line_follow.html#af85fe355ee0699cabc3c817d10aa8b9d" title="LineFollow::readLineSensors" alt="" coords="839,210,1027,237"/><area shape="rect" id="node61" href="class_move.html#a5ba1c7d78d6a067bc3cfa5f9cdca921f" title="Move::changeMotorSpeedBasedOnInitialSpeed" alt="" coords="787,160,1080,186"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a908a6b51448036bc23a7cd76acfcfbe0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_maschine.html">StateMaschine</a> * <a class="el" href="class_state_maschine.html#a908a6b51448036bc23a7cd76acfcfbe0">StateMaschine::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the <a class="el" href="class_state_maschine.html">StateMaschine</a> instance </p>
<dl class="section return"><dt>Returns:</dt><dd>Pointer to the <a class="el" href="class_state_maschine.html">StateMaschine</a> instance </dd></dl>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00011">11</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_cgraph.png" border="0" usemap="#class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_cgraph" alt=""/></div>
<map name="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_cgraph" id="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_cgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a869746d152d0a38b8d6142da3b420e85" title="StateMaschine::StateMaschine" alt="" coords="238,132,442,159"/><area shape="rect" id="node5" href="class_state_maschine.html#acdadfde97fc8449c816c1b489e2f4a22" title="StateMaschine::begin" alt="" coords="266,183,414,209"/><area shape="rect" id="node8" href="class_line_follow.html#afac0ad1ff185b7e5f9b47428cb2e5e48" title="LineFollow::begin" alt="" coords="491,157,613,184"/><area shape="rect" id="node40" href="class_curve_left.html#a0e6f8f5d7f869edfaf34cf3e74676a86" title="CurveLeft::begin" alt="" coords="495,208,609,235"/><area shape="rect" id="node10" href="class_communication.html#ad7b13fccf78bfce83efc9bb06c64facd" title="Communication::getInstance" alt="" coords="661,31,848,57"/><area shape="rect" id="node17" href="class_move.html#a5b53cfa443fe4fe0f1b96f9b3afc4850" title="Move::getInstance" alt="" coords="691,157,818,184"/><area shape="rect" id="node36" href="class_configuration.html#ae327d26e81014cf46b25802478fe9b8e" title="Configuration::getInstance" alt="" coords="669,208,841,235"/><area shape="rect" id="node12" href="class_communication.html#a88aa7a2d2ac5202e2b8eef787d1a8689" title="Communication::Communication" alt="" coords="896,31,1107,57"/><area shape="rect" id="node15" href="class_configuration.html#a75b42e72d9a00415dfafa5d5dd8281b8" title="Configuration::getSerialSpeed" alt="" coords="1198,5,1391,32"/><area shape="rect" id="node19" href="class_move.html#a4b1acc3a67d30c385ad9a6000526393a" title="Move::Move" alt="" coords="956,107,1047,133"/><area shape="rect" id="node21" href="class_move.html#afcff6c5d4fd9e58382ee01d6270f4707" title="Move::begin" alt="" coords="956,157,1047,184"/><area shape="rect" id="node24" href="class_configuration.html#aecc6c34b834bb9adb42d5f8c7314cd9c" title="Configuration::getMovePwmLeftPin" alt="" coords="1183,56,1406,83"/><area shape="rect" id="node26" href="class_configuration.html#a156dc7d1360c8e70c7aba5eb20481afa" title="Configuration::getMovePwmRightPin" alt="" coords="1179,107,1410,133"/><area shape="rect" id="node28" href="class_configuration.html#aa1599159aa8233fe3f974fb2e51129e4" title="Configuration::getMoveModeFirstLeftPin" alt="" coords="1169,157,1420,184"/><area shape="rect" id="node30" href="class_configuration.html#a4d1252f0afd9ebb35cc7f38a769fdeff" title="Configuration::getMoveModeSecondLeftPin" alt="" coords="1160,208,1429,235"/><area shape="rect" id="node32" href="class_configuration.html#a9bf200a445b05745a678d18e46ca446d" title="Configuration::getMoveModeFirstRightPin" alt="" coords="1165,259,1425,285"/><area shape="rect" id="node34" href="class_configuration.html#a2c95181edbee124c040f5db52c15fdb6" title="Configuration::getMoveModeSecondRightPin" alt="" coords="1155,309,1434,336"/><area shape="rect" id="node38" href="class_configuration.html#a779947337bf652f0e773cb29f37f14ba" title="Configuration::Configuration" alt="" coords="911,208,1091,235"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_icgraph.png" border="0" usemap="#class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_icgraph" alt=""/></div>
<map name="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_icgraph" id="class_state_maschine_a908a6b51448036bc23a7cd76acfcfbe0_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#acdadfde97fc8449c816c1b489e2f4a22" title="StateMaschine::begin" alt="" coords="238,5,386,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aaca597f41ba735fce3ef0eb06e4fda18"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#aaca597f41ba735fce3ef0eb06e4fda18">StateMaschine::startParcours</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Starts the parcours. The car will start moving autonomous. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00173">173</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_cgraph.png" border="0" usemap="#class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_cgraph" alt=""/></div>
<map name="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_cgraph" id="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_cgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4" title="StateMaschine::changeState" alt="" coords="422,5,613,32"/><area shape="rect" id="node9" href="class_line_follow.html#a5f3e76e795bacff24be60b7f65d84d94" title="LineFollow::startIt" alt="" coords="249,56,373,83"/><area shape="rect" id="node5" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="683,5,831,32"/><area shape="rect" id="node7" href="class_configuration.html#ad398e1915b07ffc4091d4d5827bd6c6e" title="Configuration::getMessageFilterLevel" alt="" coords="901,5,1136,32"/><area shape="rect" id="node11" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="448,56,587,83"/><area shape="rect" id="node14" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="666,56,849,83"/><area shape="rect" id="node16" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="661,107,853,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_icgraph.png" border="0" usemap="#class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_icgraph" alt=""/></div>
<map name="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_icgraph" id="class_state_maschine_aaca597f41ba735fce3ef0eb06e4fda18_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a" title="StateMaschine::checkCommands" alt="" coords="248,5,467,32"/><area shape="rect" id="node5" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2" title="StateMaschine::doJob" alt="" coords="515,5,666,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae028d25d4b664d805e0f516a49cfdb23"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_state_maschine.html#ae028d25d4b664d805e0f516a49cfdb23">StateMaschine::stopParcours</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Stops the car if it is currently driving autonomously. </p>

<p>Definition at line <a class="el" href="_state_maschine_8cpp_source.html#l00181">181</a> of file <a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_cgraph.png" border="0" usemap="#class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_cgraph" alt=""/></div>
<map name="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_cgraph" id="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_cgraph">
<area shape="rect" id="node3" href="class_move.html#a237261f2dd8fc115129f0ba998f13183" title="Move::performFastStop" alt="" coords="266,5,422,32"/><area shape="rect" id="node9" href="class_state_maschine.html#a5b9f3dfb795afbb28c1beeaa6f6512a4" title="StateMaschine::changeState" alt="" coords="249,56,439,83"/><area shape="rect" id="node5" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="489,31,637,57"/><area shape="rect" id="node7" href="class_configuration.html#ad398e1915b07ffc4091d4d5827bd6c6e" title="Configuration::getMessageFilterLevel" alt="" coords="685,31,920,57"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_icgraph.png" border="0" usemap="#class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_icgraph" alt=""/></div>
<map name="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_icgraph" id="class_state_maschine_ae028d25d4b664d805e0f516a49cfdb23_icgraph">
<area shape="rect" id="node3" href="class_state_maschine.html#a5551d00a5224f595833b75969c2ca64a" title="StateMaschine::checkCommands" alt="" coords="248,5,467,32"/><area shape="rect" id="node5" href="class_state_maschine.html#a1095131aa8e6e9537f481b5f425395e2" title="StateMaschine::doJob" alt="" coords="515,5,666,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a375a5c409935687eab5d7185c25b2e97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_communication.html">Communication</a>* <a class="el" href="class_state_maschine.html#a375a5c409935687eab5d7185c25b2e97">StateMaschine::_com</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the serial communication class. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00036">36</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1739f27286f50fbc99a6212c029c79d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_configuration.html">Configuration</a>* <a class="el" href="class_state_maschine.html#a1739f27286f50fbc99a6212c029c79d5">StateMaschine::_conf</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the configuration class. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00037">37</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae63367f6117a93b862973b7756ce515c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_maschine.html">StateMaschine</a> <a class="el" href="class_state_maschine.html#ae63367f6117a93b862973b7756ce515c">StateMaschine::_instance</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Static reference to the singleton object. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00032">32</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9c60433a0d4dba03bfe5422c0896b4ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_state_maschine.html#a9c60433a0d4dba03bfe5422c0896b4ba">StateMaschine::_instanceCreated</a> = false<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00033">33</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47fe78de48af82060f3f40399ef2c2d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_lift_cube.html">LiftCube</a>* <a class="el" href="class_state_maschine.html#a47fe78de48af82060f3f40399ef2c2d2">StateMaschine::_liftCube</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the <a class="el" href="class_lift_cube.html">LiftCube</a> class. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00039">39</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a91050d9a782c56bbceb4f51255707685"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_move.html">Move</a>* <a class="el" href="class_state_maschine.html#a91050d9a782c56bbceb4f51255707685">StateMaschine::_move</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the move class. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00038">38</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a705593d70b7955850568e80694c27e35"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_curve_left.html">CurveLeft</a> <a class="el" href="class_state_maschine.html#a705593d70b7955850568e80694c27e35">StateMaschine::curveLeft</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00042">42</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="acf147371c0034a418702eb1544b8e620"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_state_maschine.html#acf147371c0034a418702eb1544b8e620">StateMaschine::forceChangeSate</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Will be set to true if the stateMaschine shall switch to the next state immediately. </p>
<p>In the state machine the work of every state is started at the end of the previous state. For example the <a class="el" href="class_curve_left.html" title="The CurveLeft class will control the car during the 90° left curve.">CurveLeft</a> job starts at the end of the <a class="el" href="class_line_follow.html">LineFollow</a> job.<br/>
 This boolean is used when the command 300 is sent with a parameter that indicates at which state the state machine shall start. The state machine will then start at the previous (!) state of the given state and set forceChangeState to true. Doing so the state machine starts the job of the next state and immediately switches to the next state. </p>

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00053">53</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3307f4f89ffd7ebb3faa55467c32a71d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_line_follow.html">LineFollow</a> <a class="el" href="class_state_maschine.html#a3307f4f89ffd7ebb3faa55467c32a71d">StateMaschine::lineFollow</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00041">41</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<a class="anchor" id="adbdb287052ba80eb22fd4a910edc0115"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_state_maschine_8h.html#ad5f3c64cf1a6afd0af12270f4a539ce8">TParcoursState</a> <a class="el" href="class_state_maschine.html#adbdb287052ba80eb22fd4a910edc0115">StateMaschine::parcoursState</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_state_maschine_8h_source.html#l00059">59</a> of file <a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Workspace/Arduino/prencar/<a class="el" href="_state_maschine_8h_source.html">StateMaschine.h</a></li>
<li>D:/Workspace/Arduino/prencar/<a class="el" href="_state_maschine_8cpp_source.html">StateMaschine.cpp</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_state_maschine.html">StateMaschine</a>      </li>

    <li class="footer">Generated on Thu Apr 26 2012 09:42:56 for prencar by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
